package com.xs.designs.strategy.factory.template_method.II;

import com.xs.designs.strategy.factory.template_method.IIIII.AbstractPaymentStrategy;
import org.springframework.stereotype.Service;

@Service
public class UnionPay extends AbstractPaymentStrategy {
    @Override
    public void pay(double amount) {
        System.out.println("使用银联支付 " + amount + " 元");
    }
}